package pkmn.move;

import pkmn.battle.BattlePokemon;
import pkmn.util.Util;

public class UpCriticalRatio extends IndirectAction{

    @Override
    public void execute(BattlePokemon battlePokemon){
        if (battlePokemon.getCriticalLevel() > 1){
            Util.printAndWait("But, it failed!");
            return;
        }
        battlePokemon.addCriticalLevel(4);
        Util.printAndWait(battlePokemon + " getting pumped!");
    }
}
